package com.it360.hms_js;

import ohos.ace.ability.AceAbility;
import ohos.aafwk.content.Intent;

public class MainAbility extends AceAbility {
    @Override
    public void onStart(Intent intent) {
        //setInstanceName("JSComponentName");  // config.json配置文件中module.js.name的标签值。
        requestPermissionsFromUser(
                new String[]{
                        "ohos.permission.DISTRIBUTED_DATASYNC",
                        "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO",
                        "ohos.permission.servicebus.ACCESS_SERVICE"
                }, 0);

        super.onStart(intent);


    }

    @Override
    public void onStop() {
        super.onStop();
    }
}
